#pragma once
#include "joui.h"
#include "config.h"
namespace JOUI
{
	UIbrush Jo_UIbrush_Create(INT argb);
	UIbrush Jo_UIbrush_CreatefromCv(LPVOID hCanvas, INT extendmode, DWORD alpha);
	UIbrush Jo_UIbrush_CreatefromImg(UIimage hImg, INT Mode, INT extendmode, DWORD alpha);
	UIbrush Jo_UIbrush_Createlinear(FLOAT xStart, FLOAT yStart, FLOAT xEnd, FLOAT yEnd, INT crBegin, INT crEnd, INT extendmode, BOOL isGamma1_0);
	void Jo_UIbrush_SetColor(UIbrush hBrush, INT argb);
	INT Jo_UIbrush_GetColor(UIbrush hBrush);
	void Jo_UIbrush_destroy(UIbrush hBrush);


}